package com.fowo.api.pda.service;

import com.fowo.api.controller.purchase.vo.inventoryTurnoverVo;
import com.fowo.api.pda.model.*;

import java.util.List;

public interface PdaInventoryService {

    /**
     * 根据产品查询当前仓库库存
     * @param search
     * @return
     */
    List<ProductInventoryVo> getInventoryByProduct(InventoryBo search) throws Exception;

    /**
     * 根据仓位查询当前仓库库存
     * @param stockId
     * @param storageBin
     * @return
     */
    WarehouseBinVo getInventoryByBin(Long stockId, String storageBin);

    /**
     * 库位转移
     * @param model
     * @throws Exception
     */
    void moveBin(PutawayVo model) throws Exception;

    /**
     * 查询产品库存
     * @param search
     * @return
     */
    List<InventoryPlacementItemVo> getInventoryPlacementItemVo(InventoryBo search);
}
